package com.bruce.tool.map.baidu.service;

import com.bruce.tool.map.baidu.domain.CityInfo;
import com.bruce.tool.map.baidu.mapper.CityInfoMapper;
import com.bruce.tool.orm.mybatis.core.mapper.BaseMapper;
import com.bruce.tool.orm.mybatis.core.service.AbstractBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class CityInfoManageImpl extends AbstractBaseService<CityInfo> implements CityInfoManage {
    @Autowired
    private CityInfoMapper cityInfoMapper;

    @Override
    protected Class<CityInfo> clazz() {
        return CityInfo.class;
    }

    @Override
    protected BaseMapper<CityInfo> baseMapper() {
        return cityInfoMapper;
    }
}